// import http from '../utils/http'
//用于账户登录
import request from '@/utils/request'

export function hasAllC(params) {
    return request({
      url: '/TBaseDeptWard/hasAll',
      method: 'get',
      params
    })
}
export function List(params) {
    return request({
      url: '/TBaseDeptWard/hasAllToPage',
      method: 'get',
      params
    })
}
export function Add(data) {
    return request({
      url: '/TBaseDeptWard/add',
      method: 'post',
      data
    })
}
export function Update(data) {
    return request({
      url: '/TBaseDeptWard/update',
      method: 'post',
      data
    })
}
export function Delete(data) {
    return request({
      url: '/TBaseDeptWard/delete',
      method: 'post',
      data
    })
}
export function hasByDepidWard(params) {
  return request({
    url: '/TBaseDeptWard/hasByDepid',
    method: 'get',
    params
  })
}


